package org.example;

import org.example.annotation.ApiSecurityScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Description: springboot自定义注解，项目启动时扫描注解
 *
 * @author shenguangyang
 */
@SpringBootApplication
// 扫描1个指定包的下的注解
@ApiSecurityScan(basePackages={"org.example.controller.*"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
